package com.wl.dzt.product.feign;

import com.wl.dzt.sys.response.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Author wl_code@163.com
 * @Date 2018/5/18/018
 * @Version 1.0
 * @Description 描述
 */
@Component
@FeignClient("productApi")
public interface ProductFeign {

    @RequestMapping(value="/productApi/test/query",method = RequestMethod.POST)
    Result testQuery();

}
